package com.tangding.pojo.request.role;

import com.tangding.annotations.StringLength;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年11月9日_下午7:12:13
 *
 */
public class CreateParams {
	@StringLength(Max = 64, required = false)
	private String roleName;
	@StringLength(Max = 64, required = true)
    private String roleDesc;
    @StringLength(Min = 1, Max = 64, required = false)
    private String permission;//权限列表，多个权限名称以,分隔
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRoleDesc() {
		return roleDesc;
	}
	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}
	public String getPermission() {
		return permission;
	}
	public void setPermission(String permission) {
		this.permission = permission;
	}
}
